package b1.scenes.main
{
	import b1.net.*;
	import b1.utils.*;
	import b1.scenes.SceneContainer;
	
	import flash.display.Sprite;

	public class MainEntry extends Sprite
	{
		//作案界面
		private var crimeEntry:Sprite;
		//探案界面
		private var detectEntry:Sprite;
		//回家界面
		private var homeEntry:Sprite;
		
		public function MainEntry()
		{
			super();
			//加载背景图片
			var MainBackground:Class = ResourceHelper.getInstance().getClassByName("MainBackground");
			addChild(new MainBackground());
			//作案界面
			crimeEntry = new SingleEntry(0);
			crimeEntry.x = 40;
			crimeEntry.y = 400;
			addChild(crimeEntry);
			//探案界面
			detectEntry = new SingleEntry(1);
			detectEntry.x = 385;
			detectEntry.y = 265;
			addChild(detectEntry);
			//回家界面
			homeEntry = new SingleEntry(2);
			homeEntry.x = 600;
			homeEntry.y = 334;
			addChild(homeEntry);
		}
	}
}